<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动漫评分管理系统-分类</title>
    <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="static/css/category/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="static/css/category/htmleaf-demo.css">
    <link href="static/css/category/jquery.decapitate.css" rel="stylesheet" type="text/css" />
    <link href="static/css/category/styles.css" rel="stylesheet" type="text/css" />
    <style>
        .navigation{
            margin: 0;
            padding: 0;
            background-color:#F7F7F7;
            height: 128px;
            display: block;
            width: 100%;
        }

        .navigation text{
            text-align: center;
            font-size: 42px;
            color: #000;
            margin-top: 0;
            margin-bottom: 0;
            margin-left: 16px;
            line-height: 128px;
            display: inline-block;
            width: 30%;
        }
    </style>
</head>
<body>
<div class="navigation">
    <text>用户评分记录</text>
</div>
<div class="htmleaf-container">
    <table id="element-table" class="table table-bordered">
        <thead>
        <tr>
            <th>User_id</th>
            <th>Anime_id</th>
            <th>Anime_name</th>
            <th>Rating</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${requestScope.recordHistory}" var="record">
            <tr>
                <td>${record.user_id}</td>
                <td>${record.anime_id}</td>
                <td>${record.name}</td>
                <td>${record.rating}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</body>
</html>